package cn.edu.nit.sys.mapper;

import cn.edu.nit.sys.entity.SysLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author xiaobai
 * @Date 2022/8/30 19:31
 * @Version 1.0.0
 */
@Mapper
public interface SysLogMapper extends BaseMapper<SysLog> {

    @Select("select * from sys_log order by time DESC")
    Page<SysLog> getList(Page<SysLog> page);
}
